﻿<Window 
  x:Class="Infragistics.Composite.Wpf.SampleBrowser.ShellWindow"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:cal="http://www.codeplex.com/CompositeWPF"
  xmlns:igDock="http://infragistics.com/DockManager"
  xmlns:inf="clr-namespace:Infragistics.Composite.Wpf.Samples.Infrastructure;assembly=Infragistics.Composite.Wpf.Samples.Infrastructure"
  xmlns:res="clr-namespace:Infragistics.Composite.Wpf.SampleBrowser.Properties"
  Title="{x:Static res:Strings.ShellWindow_Title}" 
  Width="900" Height="600" 
  WindowStartupLocation="CenterScreen"
  >
  <igDock:XamDockManager 
    x:Name="dockManager" 
    cal:RegionManager.RegionName="{x:Static inf:RegionNames.DockingAreaRegion}" 
    Theme="Royale"
    >
    <igDock:XamDockManager.Panes>
      <igDock:SplitPane x:Name="staticSplitPane" igDock:XamDockManager.InitialLocation="DockedBottom">
        <igDock:SplitPane.Panes>
          <igDock:ContentPane Header="{x:Static res:Strings.ShellWindow_StaticPane_Header}" MinHeight="100">
            <TextBlock Text="{x:Static res:Strings.ShellWindow_StaticPane_Content}" />
          </igDock:ContentPane>
        </igDock:SplitPane.Panes>
      </igDock:SplitPane>
    </igDock:XamDockManager.Panes>

    <igDock:XamDockManager.Content>
      <StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
        <Button 
          Click="OnRemoveActiveViewButtonClick" 
          Content="{x:Static res:Strings.ShellWindow_RemoveActiveView}"
          Focusable="False"
          />
        <Button 
          Click="OnAddNewViewButtonClick"
          Content="{x:Static res:Strings.ShellWindow_AddNewView}"
          Margin="0,8"
          />
      </StackPanel>
    </igDock:XamDockManager.Content>
  </igDock:XamDockManager>
</Window>